package com.siki.pojo.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.siki.pojo.enumerate.ResultType;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import javax.persistence.*;

/**
 * @Author Siki
 * @Date 2020/3/19
 */
@Data
@TableName(value = "gq_department_information",resultMap = "DepartmentResult")
public class DepartmentInformation {
    @Id
    @TableId(type = IdType.AUTO)
    @ApiModelProperty("意愿部门id")
    Long id;

    @ApiModelProperty("次序")
    Integer no;

    @ApiModelProperty("意愿部门名称")
    String departmentInfo;   //志愿

    @ApiModelProperty("意愿部门职位")
    String post;

    @ApiModelProperty("意愿部门审核结果")
    @Enumerated(EnumType.STRING)
    ResultType resultType;

    @ApiModelProperty("userID")
    String userId;

    @ApiModelProperty("总体评价")
    String remark;

    @ApiModelProperty("平均得分")
    Integer score;
}
